function DialogInput(container, item, options) {
  this._container = container;
  this._item = item;
  this._options = options;
  
  this._createElements();
};

DialogInput.prototype._createElements = function() {
  var gui, input, table, tr, td, _self = this, unique = MiscUtils.unique();
  
  table = document.createElement('table');
  table.style.width = '500px';
  table.style.height = '24px';
  table.cellPadding = 0;
  table.cellSpacing = 0;
  this._container.appendChild(table);
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.style.height = '24px';
  td.style.textAlign = 'center';
  td.style.verticalAlign = 'middle';
  
  tr = table.insertRow(-1);
  
  td = tr.insertCell(-1);
  td.style.width = '500px';
  td.style.height = '40px';
  td.style.textAlign = 'center';
  input = document.createElement('textarea');
  input.style.borderRight= 'solid 1px #fff';
  input.style.borderBottom=  'solid 1px #fff';
  input.style.borderLeft= 'solid 1px #d2c4b9';
  input.style.borderTop= 'solid 1px #d2c4b9';
  input.id =  unique + '_input_text'
  input.style.width = '495px';
  input.rows = 20;
  td.appendChild(input);
  
  gui = GuiDialogInput.instance(unique);
  new HandleDialogInput(gui, this._item, this._options);
};